package com.ruoyi.classai.domain.dto.resource;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "资源库新增对象-资源新增对象")
public class EwcResourceDetailAddDto {

    /**
     * 资源地址
     */
    @Schema(description = "资源地址")
    @NotBlank(message = "资源地址不能为空")
    private String resourceUrl;

    /**
     * 资源名称
     */
    @Schema(description = "资源名称")
    @NotBlank(message = "资源地址不能为空")
    private String resourceName;

    /**
     * 资源详情
     */
    @Schema(description = "资源详情")
    private String resourceDetails;
}
